package com.thinkTank.oa.lucene;

import java.util.List;

public interface IsolrProject {
	public boolean add(LuceneProject project);
	public boolean update(LuceneProject project);
	public boolean deleteById(String projectId);
	public boolean addProjectList(List<LuceneProject> projectList);
	public Pagination queryProjectList(String keyword,List<String> fields,int page,int size);
	public Pagination queryProjectList(String keyword,List<String> fields,int page,int size,boolean flag);
	public Pagination queryProjectList(String keyword,int page,int size);
	public Pagination relate(String keyword,int page,int size);
	public Pagination relate(String keywords,List<String> fields, int pageNo, int pageSize);
}
